<div class="content" style="width:902px;margin:0px auto">
	<?php
	$imod = n_mod('install');
	$imod->nav();
	?>


	<div style="margin-top:10px;border:1px solid #999;background-color:#efefef;padding:10px;">
		<?php
		$isready = TRUE;
		foreach($data['check'] as $key=>$val){
			if(!$val['state']){
				$isready = FALSE;
			}
		?>
		<div<?=$val['state']?'':' style="color:red;"'?>><?=$val['msg']?></div>
		<?php
		}
		?>
		
		<?php
		if($isready){
		?>
		<a href="<?=n_url('install','pluginSetup',array('pcode'=>$data['pevent']))?>">安装</a>
		<?php
		}else{
		?>
		<span style="color:#ccc">安装</span>
		<a href="javascript:void(0);" onclick="location.reload()">重新检查</a>
		<?php
		}
		?>

	</div>
</div>

